package com.atwork.wuhua.bean;

import java.util.List;

public class BannerBean {

    /**
     * data : [{"id":"2","name":"约球吧","site_id":"1","thumb":"http://192.168.1.102:10002/upload/banner/5bed19294a78b.jpg","url":"https://www.baidu.com"},{"id":"1","name":"banner","site_id":"1","thumb":"http://192.168.1.102:10002/upload/banner/5bed196a015ee.jpg","url":"0"}]
     * meta : {"total":2,"per_page":999,"total_pages":1,"current_page":1,"count":2,"links":[]}
     */

    private MetaBean meta;
    private List<DataBean> data;

    public MetaBean getMeta() {
        return meta;
    }

    public void setMeta(MetaBean meta) {
        this.meta = meta;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class MetaBean {
        /**
         * total : 2
         * per_page : 999
         * total_pages : 1
         * current_page : 1
         * count : 2
         * links : []
         */

        private int total;
        private int per_page;
        private int total_pages;
        private int current_page;
        private int count;
        private List<?> links;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getTotal_pages() {
            return total_pages;
        }

        public void setTotal_pages(int total_pages) {
            this.total_pages = total_pages;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<?> getLinks() {
            return links;
        }

        public void setLinks(List<?> links) {
            this.links = links;
        }
    }

    public static class DataBean {
        /**
         * id : 2
         * name : 约球吧
         * site_id : 1
         * thumb : http://192.168.1.102:10002/upload/banner/5bed19294a78b.jpg
         * url : https://www.baidu.com
         */

        private String id;
        private String name;
        private String site_id;
        private String thumb;
        private String url;
        private String type;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSite_id() {
            return site_id;
        }

        public void setSite_id(String site_id) {
            this.site_id = site_id;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
